IF OBJECT_ID('ssf.regex_is_match') IS NOT NULL
	DROP FUNCTION [ssf].[regex_is_match];
GO

CREATE FUNCTION [ssf].[regex_is_match](
	@input NVARCHAR(MAX)
	, @pattern NVARCHAR(MAX))
RETURNS BIT
WITH EXECUTE AS CALLER
	, RETURNS NULL ON NULL INPUT
AS
EXTERNAL NAME [UtilityRegex].[SQLServerFramework.UtilityRegex].[RegexIsMatch]
GO
